package com.seednia.module.core.search.dto;

import com.seednia.foundation.framework.dto.AbstractRecord;

/**
 * Class to hold the search query result.
 * 
 * @author Young Suk Ahn
 *
 */
public class QueryResultEntry {

	private float score;
	
	private AbstractRecord record;
	
	public QueryResultEntry(){}
	
	public QueryResultEntry(AbstractRecord record, float score)
	{
		this.record = record;
		this.score = score;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public AbstractRecord getRecord() {
		return record;
	}

	public void setRecord(AbstractRecord record) {
		this.record = record;
	}
	
}
